<template>
  <RouteMenu :menus="menus"></RouteMenu>
</template>

<script setup>
const menus = [
  {
    title: "按钮",
    child: [
      {
        path: "/sdnui/button",
        name: "基础按钮",
      },
      {
        path: "/sdnui/link",
        name: "Link 文字链接",
      },
    ],
  }, {
    title: '表单',
    child: [
      {
        path: '/sdnui/radio',
        name: 'Radio 单选框'
      },
      {
        path: '/sdnui/checkbox',
        name: 'Checkbox 多选框'
      },
      {
        path: "/sdnui/input",
        name: "Input输入框",
      },
      {
        path: "/sdnui/inputNumber",
        name: "InputNumber计数器",
      },
      {
        path: "/sdnui/select",
        name: "Select 选择器",
      },
      {
        path: '/sdnui/cascader',
        name: 'Cascader 级联选择器'
      },
      {
        path: '/sdnui/switch',
        name: 'Switch 开关'
      },
      {
        path: '/sdnui/slider',
        name: 'Slider 滑块'
      },
      {
        path: '/sdnui/timePicker',
        name: 'TimePicker 时间选择器'
      }, {
        path: '/sdnui/datePicker',
        name: 'DatePicker 日期选择器'
      },
      {
        path: '/sdnui/colorPicker',
        name: 'ColorPicker 颜色选择器'
      },
      {
        path: '/sdnui/upload',
        name: 'Upload 上传'
      },
      {
        path: "/sdnui/rate",
        name: "Rate 评分",
      },
      {
        path: "/sdnui/form",
        name: "Form表单",
      }
    ]
  },
  {
    title: "Notice",
    child: [
      {
        path: "/sdnui/alert",
        name: "Alert 警告",
      },
      {
        path: "/sdnui/multiFunMessage",
        name: "multiFunMessage 多功能消息提示",
      }
    ],
  },
  {
    title: "数据",
    child: [
      {
        path: "/sdnui/progress",
        name: "Progress 进度条",
      },
      {
        path: "/sdnui/empty",
        name: "Empty 空状态",
      },
      {
        path: "/sdnui/pagination",
        name: "Pagination 分页",
      },
      {
        path: "/sdnui/tag",
        name: "Tag 标签",
      }
    ],
  },
  {
    title: "导航",
    child: [
      {
        path: "/sdnui/menu",
        name: "NavMenu 导航菜单",
      },
      {
        path: "/sdnui/breadcrumb",
        name: "Breadcrumb  面包屑",
      }
    ]
  },
  {
    title: "其他",
    child: [
      {
        path: "/sdnui/dialog",
        name: "Dialog 对话框",
      },
      {
        path: "/sdnui/tooltip",
        name: "Tooltip 文字提示",
      }
    ]
  }
];
</script>
